<?php
apf_require_page("Portal_Layout_Default");

class Flow_VerifySecurityPage extends Portal_Layout_DefaultPage {
    public function get_view () {
        return "VerifySecurity";
    }

    public function get_title(){
        return "安全码验证！";
    }

    public function get_last_url() {
        $data = $this->request->get_attributes();
        $url = empty($data['jump_last_url']) ? Portal_Urls::base_url():$data['jump_last_url'];
        return $url;
    }

    public static function use_boundable_styles() {
        $path = apf_classname_to_path(__CLASS__);
        return array_merge(parent::use_boundable_styles(), array($path."Common.css", $path."Key.css"));
    }

    public static function use_component() {
        return array_merge(parent::use_component(),
                array(
                        'Flow_CheckSecurity',
                )
        );
    }

}